<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>
<?php
include "function_net_addr.php";

$dev = $_POST['dev'];
$type = $_POST['type'];

$addr = new  CAddress($dev, $type);
$addr->DelXmlAll();

include "function_misc_log.php";
$log = array();
$log['Dev'] = $dev;
$log['Type'] = $type;
logger("Del_All", $log,"Address_List");

echo("<meta http-equiv='refresh'content=0;URL='net_dev_addr_list.php?dev=". $dev."&type=". $type."'>");   

?>
